#!/bin/bash
find . -maxdepth 1 -type f -name '*.ts' -exec sh -c 'echo  "$(stat -c "%s" "{}"),$(md5sum "{}" | cut -d " " -f 1)"' \; > ads.list